package com.jfs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 通道目录表
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2022/8/10
 */
@Data
@TableName("t_channel_directory")
@KeySequence(value = "customIdGenerator")
@ApiModel(description = "设备目录表")
public class ChannelDirectory {
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @ApiModelProperty(value = "目录名称")
    private String name;
    @ApiModelProperty(value = "目录描述")
    private String channelDirectoryDescribe;
    @ApiModelProperty(value = "所属父id")
    private String parentId;
    @ApiModelProperty(value = "目录级别")
    private Integer level;
    @ApiModelProperty(value = "排序字段")
    private Integer sort;
}
